from exts import db

class Originimage(db.Model):
    __tablename__ = 'originimage'

    imageId = db.Column(db.Integer, primary_key=True)
    imageName = db.Column(db.String(255), nullable=False)
    imageType = db.Column(db.Enum('jpg', 'png', 'jpeg'), nullable=False)
    imagePath = db.Column(db.String(255), nullable=False)
    uploadTime = db.Column(db.DateTime, nullable=False)